int batteryLevel;

task main
{
  while(true)
  {
    batteryLevel = nImmediateBatteryLevel;
  }
}
